package com.sendpo.zjx.sendpo.domain;

import java.util.List;

/**
 * Created by zjx on 2018
 */

public class DynamicDomain implements  java.io.Serializable {


    /**
     * msg : success
     * flag : true
     * data : [{"id":10,"merchantsId":9,"merchantsName":"魅力四射酒吧","merchantsHeadImg":"http://www.tofacial.com:8080/sendpo/all_imgs/merchant_imgs/33/15097880852747245e3e2-f.jpg","content":"天虹深南店免费送九阳电烤箱一台，总量1000台先到先得。","imgs":["http://www.tofacial.com:8080/sendpo/all_imgs/merchants_dynamic_imgs/9/1509793005258466d0295-f.png","http://www.tofacial.com:8080/sendpo/all_imgs/merchants_dynamic_imgs/9/1509793005258205b3917-d.png","http://www.tofacial.com:8080/sendpo/all_imgs/merchants_dynamic_imgs/9/1509793005258af7c2a8d-c.png"],"starCount":1,"commentCount":4,"lookCount":56,"longitude":"114.101689","latitude":"22.558305","createDate":"2017-11-04 18:56:45.0","city":"深圳市","area":"福田区","starId":null,"star":false},{"id":11,"merchantsId":10,"merchantsName":"益田假期广场","merchantsHeadImg":"http://www.tofacial.com:8080/sendpo/all_imgs/merchant_imgs/36/1514948103830df50816e-2.jpg","content":"家乐福红岭店澳洲进口奇异果买1送1不涨价，26日-29日。","imgs":["http://www.tofacial.com:8080/sendpo/all_imgs/merchants_dynamic_imgs/10/1509793124492f2805e12-d.png","http://www.tofacial.com:8080/sendpo/all_imgs/merchants_dynamic_imgs/10/15097931245087df8b0d9-6.png","http://www.tofacial.com:8080/sendpo/all_imgs/merchants_dynamic_imgs/10/150979312450821bcc396-a.png"],"starCount":4,"commentCount":1,"lookCount":41,"longitude":"114.101757","latitude":"22.558337","createDate":"2017-11-04 18:58:44.0","city":"深圳市","area":"福田区","starId":null,"star":false}]
     */

    private String msg;
    private boolean flag;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean  implements  java.io.Serializable{
        /**
         * id : 10
         * merchantsId : 9
         * merchantsName : 魅力四射酒吧
         * merchantsHeadImg : http://www.tofacial.com:8080/sendpo/all_imgs/merchant_imgs/33/15097880852747245e3e2-f.jpg
         * content : 天虹深南店免费送九阳电烤箱一台，总量1000台先到先得。
         * imgs : ["http://www.tofacial.com:8080/sendpo/all_imgs/merchants_dynamic_imgs/9/1509793005258466d0295-f.png","http://www.tofacial.com:8080/sendpo/all_imgs/merchants_dynamic_imgs/9/1509793005258205b3917-d.png","http://www.tofacial.com:8080/sendpo/all_imgs/merchants_dynamic_imgs/9/1509793005258af7c2a8d-c.png"]
         * starCount : 1
         * commentCount : 4
         * lookCount : 56
         * longitude : 114.101689
         * latitude : 22.558305
         * createDate : 2017-11-04 18:56:45.0
         * city : 深圳市
         * area : 福田区
         * starId : null
         * star : false
         */

        private int id;
        private int merchantsId;
        private String merchantsName;
        private String merchantsHeadImg;
        private String content;
        private int starCount;
        private int commentCount;
        private int lookCount;
        private String longitude;
        private String latitude;
        private String createDate;
        private String city;
        private String area;
        private int starId;
        private boolean star;
        private List<String> imgs;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMerchantsId() {
            return merchantsId;
        }

        public void setMerchantsId(int merchantsId) {
            this.merchantsId = merchantsId;
        }

        public String getMerchantsName() {
            return merchantsName;
        }

        public void setMerchantsName(String merchantsName) {
            this.merchantsName = merchantsName;
        }

        public String getMerchantsHeadImg() {
            return merchantsHeadImg;
        }

        public void setMerchantsHeadImg(String merchantsHeadImg) {
            this.merchantsHeadImg = merchantsHeadImg;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getStarCount() {
            return starCount;
        }

        public void setStarCount(int starCount) {
            this.starCount = starCount;
        }

        public int getCommentCount() {
            return commentCount;
        }

        public void setCommentCount(int commentCount) {
            this.commentCount = commentCount;
        }

        public int getLookCount() {
            return lookCount;
        }

        public void setLookCount(int lookCount) {
            this.lookCount = lookCount;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public int getStarId() {
            return starId;
        }

        public void setStarId(int starId) {
            this.starId = starId;
        }

        public boolean isStar() {
            return star;
        }

        public void setStar(boolean star) {
            this.star = star;
        }

        public List<String> getImgs() {
            return imgs;
        }

        public void setImgs(List<String> imgs) {
            this.imgs = imgs;
        }
    }
}
